home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
9675
/
9675.xpi
/
chrome
/
content
/
simpletimer-chrome.xul
< prev
next >
Wrap
Extensible Markup Language
|
2009-11-24
|
8KB
|
191 lines
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://simpletimer/content/simpletimer.css"
type="text/css"?>
<?xml-stylesheet href="chrome://simpletimer/skin/simpletimer-toolbar.css"
type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://simpletimer/locale/simpletimer.dtd">
<overlay id="simtim-statbarTimer"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript"
src="chrome://global/content/nsDragAndDrop.js" />
<script type="application/x-javascript"
src="chrome://global/content/nsTransferable.js" />
<script type="application/x-javascript"
src="chrome://simpletimer/content/simpletimer-dragndrop.js" />
<script type="application/x-javascript"
src="chrome://simpletimer/content/simpletimer-chrome.js" />
<script type="application/x-javascript"
src="chrome://simpletimer/content/simpletimer-notify.js" />
<script type="application/x-javascript"
src="chrome://simpletimer/content/simpletimer-countdown.js" />
<script type="application/x-javascript"
src="chrome://simpletimer/content/simpletimer-sliderAlert.js" />
<script type="application/x-javascript"
src="chrome://simpletimer/content/simpletimer-eventLog.js" />
<script type="application/x-javascript"
src="chrome://simpletimer/content/simpletimer-fileIO.js" />
<script type="application/x-javascript"
src="chrome://simpletimer/content/simpletimer.js" />
<stringbundleset id="stringbundleset">
<stringbundle id="simtim-strings"
src="chrome://simpletimer/locale/simpletimer.properties" />
</stringbundleset>
<popupset id="mainPopupSet">
<menupopup id="simtim-menuPopup"
position="before_start">
<menuitem label="&menuitem.clock;"
oncommand="SimpleTimer.clock();" />
<menuseparator />
<menuitem label="&menuitem.notify;"
oncommand="SimpleTimer.notifyMe();" />
<menuseparator />
<menuitem label="&menuitem.countup;"
oncommand="SimpleTimer.countUp();" />
<menuitem label="&menuitem.countdown;"
oncommand="SimpleTimer.countDown();" />
<menuitem label="&menuitem.pauseResume;"
oncommand="SimpleTimer.pauseResume();" />
<menuitem label="&menuitem.stop;"
oncommand="SimpleTimer.stop();" />
<menuseparator />
<menuitem id="simtim-mitemKillHtmlAudio"
label="&menuitem.kill.audio.alarm;"
disabled="true"
oncommand="SimpleTimer.pauseHtmlAudio();" />
<menuseparator />
<menuitem label="&menuitem.options;"
oncommand="SimpleTimer.displayOptionsDlg();" />
<menuitem label="&menuitem.eventLog;"
oncommand="SimpleTimer.displayEventLogDlg();" />
<menuitem label="&menuitem.homepage;"
oncommand="SimpleTimer.openLink('http://simpletimer.mozdev.org/');" />
<menu id="simtim-menuDocumentation"
label="&menu.documentation;">
<menupopup id="simtim-popupDocumentation">
<menuitem label="&menuitem.clock;"
oncommand="SimpleTimer.openLink('http://simpletimer.mozdev.org/#Clock');" />
<menuitem label="&menuitem.doc.notify;"
oncommand="SimpleTimer.openLink('http://simpletimer.mozdev.org/#Notify');" />
<menuitem label="&menuitem.countup;"
oncommand="SimpleTimer.openLink('http://simpletimer.mozdev.org/#CountUp');" />
<menuitem label="&menuitem.doc.countdown;"
oncommand="SimpleTimer.openLink('http://simpletimer.mozdev.org/#CountDown');" />
<menuitem label="&menuitem.pauseResume;"
oncommand="SimpleTimer.openLink('http://simpletimer.mozdev.org/#PauseResume');" />
<menuitem label="&menuitem.stop;"
oncommand="SimpleTimer.openLink('http://simpletimer.mozdev.org/#StopReset');" />
<menuitem label="&menuitem.doc.options;"
oncommand="SimpleTimer.openLink('http://simpletimer.mozdev.org/#Options');" />
<menuitem label="&menuitem.doc.eventLog;"
oncommand="SimpleTimer.openLink('http://simpletimer.mozdev.org/#EventLog');" />
</menupopup>
</menu>
<menuitem label="&menuitem.about;"
oncommand="SimpleTimer.displayAboutDlg();" />
</menupopup>
<tooltip id="simtim-ttipDate"
position="before_start">
<description id="simtim-descTtipCurrDate0"
value="" />
</tooltip>
<tooltip id="simtim-ttipFull"
noautohide="true"
position="before_start">
<vbox id="simtim-vboxTtipFull">
<description id="simtim-descTtipCurrDate1"
value="" />
<grid id="simtim-gridNotify">
<columns>
<column />
<column />
</columns>
<rows>
</rows>
</grid>
<grid id="simtim-gridCountdown">
<columns>
<column />
<column />
</columns>
<rows>
</rows>
</grid>
<description id="simtim-descTtipLastCountUp"
value="" />
<description id="simtim-descTtipSessionTime"
value="" />
</vbox>
</tooltip>
<tooltip id="simtim-ttipCountdown"
noautohide="true"
position="before_start">
<grid id="simtim-gridTtipCountdown">
<columns>
<column />
<column />
</columns>
<rows>
</rows>
</grid>
</tooltip>
</popupset>
<statusbar id="status-bar">
<statusbarpanel id="simtim-statpanelTimer"
context="simtim-menuPopup"
insertbefore="last"
ondraggesture="nsDragAndDrop.startDrag(event, SimpleStatObserver);"
onclick="SimpleTimer.onPanelClick(event);"
onmouseover="SimpleTimer.setTooltip();"
onmouseout="SimpleTimer.clearTooltip();">
<hbox>
<image id="simtim-statpanelImage"
status="normal" />
<label id="simtim-statpanelLabel"
class="statusbarpanel-text"
collapsed="true" />
</hbox>
</statusbarpanel>
</statusbar>
<toolbarpalette id="BrowserToolbarPalette">
<toolbaritem id="simtim-toolbarItem"
align="center"
context="simtim-menuPopup"
onclick="SimpleTimer.onPanelClick(event);"
onmouseover="SimpleTimer.setTooltip();"
onmouseout="SimpleTimer.clearTooltip();">
<toolbarbutton id="simtim-toolbarButton"
status="normal"
class="toolbarbutton-1 chromeclass-toolbar-additional"
label="SimpleTimer"/>
<hbox>
<label id="simtim-toolbarLabel"
class="menubar-text"
collapsed="true" />
</hbox>
</toolbaritem>
</toolbarpalette>
</overlay>